TABLE OF RIGHT DIAGONALS
GENERATION OF RIGHT DIAGONALS FOR MAGIC SQUARE OF SQUARES (Part VIA)
Square of Squares Tables
Andrew Bremner's article on squares of squares included the first 3x3 square having 7 squares:
Bremner's square
3732 | 2892 | 5652 |
360721 | 4252 | 232 |
2052 | 5272 | 222121 |
The numbers in the right diagonal as the tuple (205,2425,25652) appear to have been obtained from elsewhere. But I will show that
this sequence is part of a larger set of tuples having the same property, i.e. the first number in the tuple when added to a
difference (Δ) gives the second square in the tuple and when this same (Δ)
is added to the second square produces a third square. All these tuple sequences can be used as entries into the right diagonal of a magic square.
It was shown previously that these numbers are a part of a sequence of squares and this page is a continuation of that effort.
I will show from scratch, (i.e. from first principles) that these tuples
(a2,b2,c2)
whose sum a2 + b2 +
c2 - 3b2 = 0
are generated from another set of tuples that (except for the initial set of tuples) obeys the equation
a2 + b2 +
c2 - 3b2 ≠ 0.
Find the Initial Tuples
As was shown in the web page Generation of Right Diagonals, the first seven tuples of
real squares, are generated using the formula c2
= 2b2 − 1 and placed into table T below. The first number in each tuple
all a start with +1 which employ integer numbers as the initial entry in the diagonal.
The desired c2 is calculated by searching all b numbers
between 1 and 100,000. However, it was found that the ratio of bn+1/bn or cn+1/cn converges
on (1 + √2)2 as the b's or c's get larger. This means that moving down each row on the table
each integer value takes on the previous bn or cn multiplied by (1 + √2)2, i.e.,
5.8284271247...
Furthermore, this table contains seven initial tuples in which all a start with +1.
The initial simple tuple (1,1,1) is the only tuple stands on its own. Our sixth example is then (1, 47321, 47321).
Table T
1 | 1 | 1 |
1 | 5 | 7 |
1 | 29 | 41 |
1 | 169 | 239 |
1 | 985 | 1393 |
1 | 5741 | 8119 |
1 | 33461 | 47321 |
Construction of two Tables of Right Diagonal Tuples
- The object of this exercise is to generate a table with a set of tuples that obey the rule:
a2 + b2 +
c2 - 3b2 ≠ 0
and convert these tuples into a second set of tuples that obey the rule:
a2 + b2 +
c2 - 3b2 = 0. The initial row, however,
of table I is identical to the first row of table II. On the other hand, there are other examples where this is not true.
- To accomplish this we set a condition. We need to know two numbers e and
g where
g = 2e and which when added to the second and third numbers,
respectively, in the tuple of table I produce the two numbers in the next row of table I. Every first number, however, remains a 1.
Table I
1 | 47321 | 47321 |
1 | 47321+e | 47321+g |
- These numbers, e and g are not initially known but a mathematical method will be shown below
on how to obtain them. Having these numbers on hand we can then substitute them into the tuple
equation 12 + (en + 29)2 +
(gn + 41)2
- 3(en +29)2 along with n (the order), the terms squared
and summed to obtain a value
S which when divided by a divisor
d produces a number f.
- This number f when added to the square of
each member in the tuple (1,b,c) generates
(f + 1)2 +
(f + en
+ 29)2 + f + gn + 41)2
- 3(f + en +5)2
producing the resulting tuple in table II. This is the desired tuple obeying the rule
a2 + b2 +
c2 - 3b2 = 0.
Table I
1 | 33461 | 47321 |
1 | 33461+e | 47321+g |
|
| ⇒ |
Table II
1 | 33461 | 47321 |
1 + f | 33461+e + f |
47321+g + f |
|
|
- This explains why when both n and f are both equal to 0
that the first row of both tables are equal.
- The Δs are calculated, the difference in Table 2 between columns 2 or 3, and the results placed in the last column.
- The final tables produced after the algebra is performed are shown below:
n
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
|
|
Table I
1 | 33461 | 47321 |
1 | 33601 | 47601 |
1 | 33741 | 47881 |
1 | 33881 | 48161 |
1 | 34021 | 48441 |
1 | 34161 | 48721 |
1 | 34301 | 49001 |
1 | 6315 | 49281 |
1 | 34441 | 49561 |
1 | 34581 | 49841 |
1 | 34721 | 50121 |
1 | 34861 | 50401 |
1 | 7709 | 12055 |
|
|
f = S/d
0 |
199 |
400 |
603 |
808 |
1015 |
1224 |
1435 |
1648 |
1863 |
2080 |
2299 |
2520 |
|
|
Table II
1 | 33461 | 47321 |
200 | 33800 | 47800 |
401 | 34141 | 48281 |
604 | 34484 | 48764 |
809 | 34829 | 49249 |
1016 | 35176 | 49736 |
1225 | 35525 | 50225 |
1436 | 35876 | 50716 |
1649 | 36229 | 51209 |
1864 | 36584 | 51704 |
2081 | 36941 | 52201 |
2300 | 37300 | 52700 |
2521 | 37661 | 53201 |
|
|
Δ
1119638520 |
1142400000 |
1165447080 |
1188781440 |
1212404760 |
1236318720 |
1260525000 |
1285025280 |
1309821240 |
1334914560 |
1360306920 |
1386000000 |
1411995480 |
|
To obtain e, g, f
and d the algebraic calculations are performed as follows:
- The condition we set is g = 2e
- Generate the equation: (12 + (en + 33461)2
+ (gn + 47321)2
- 3(en +33461)2 (a)
- Add f to the numbers in the previous equation:
(f + 1)2 +
(f + en + 33461)2 +
(f + gn + 47321)2
- 3(f + en +33461)2
(b)
- Expand the equation in order to combine and eliminate terms:
(f2 + 2f + 1) +
(f2 + 2enf +
66922f + e2n2 +
66922en + 1119638521)
+ (f2 + 2gnf +
94642f + g2n2
+ 94642gn + 2239277041) +
(−3f2 − 6enf
− 200766f
− 3e2n2
− 200766en − 3358915563) = 0 (c)
-
-39200f + (2gnf - 4en
f)
+ (g2n2
-2e2n2) + (94642gn
- 133844en) = 0 (d)
- Move f to the other side of the equation and
since g = 2e then
39200f = (4e2n2
-2e2n2) +
(189284en - 133844en)
(e)
39200f = 2e2n2 +
55440en (f)
- At this point the divisor d is equal to the coefficent of f, i.e. d = 39200.
For 39200 to divide the right
side of the equation we find the lowest value of e and g
which would satisfy the equation.
e = 140 and g = 280 are those numbers.
- Thus 39200f = 39200n2 + 7761600n
and (g)
f = n2 + 198n (h)
- Therefore substituting these values for e, f and g into the requisite two equations affords:
for Table I: (12 + (140n + 33461)2
+ (280n + 47321)2
- 3(140n + 33461)2 (i)
for Table II: (n2 + 198n + 1)2 +
(n2 + 338n + 33461)2 +
(n2 + 478n + 47321)2
- 3(n2 + 338n + 33461)2
(j)
Thus the values of the rows in both tables can be obtain by using a little arithmetic as was shown above or we can employ the two mathematical equations to generate
each row. The advantage of using this latter method is that any n can be used. With the former method one calculation
after another must be performed until the requisite n is desired.
Two squares that can be formed from order number n = 3 and n = 7.
These magic squares (A) and (B) are produced from the tuples (604, 34484, 48764) and
(1436, 35876, 50716) as shown below:
Magic square A
420862 | -581720324 | 487642 |
1795842556 | 344842 | 241342 |
6042 | 544062 | 607061116 |
|
| |
Magic square B
1012242 | -8957148704 | 507162 |
-6387098144 | 358762 | 946642 |
14362 | 1073842 | -7672122424 |
|
This concludes Part VIA.
Go back to homepage.
Copyright © 2011 by Eddie N Gutierrez. E-Mail: edguti144@outlook.com